package com.example.lijuan.myapplication.module;


import java.io.Serializable;

/**
 * Created by xiaodong on 15/9/22.
 *//*
@XmlRootElement(name = "location")
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "location", propOrder = {
        "latitude",
        "longitude",
        "locationTime",
        "locationType"
})
@JsonPropertyOrder(value = {
        "latitude",
        "longitude",
        "locationTime",
        "locationType"
})*/
public class Location implements Serializable {
    private final static long serialVersionUID = 1L;
    private String latitude;

    @Override
    public String toString() {
        return "Location{" +
                "latitude='" + latitude + '\'' +
                ", longitude='" + longitude + '\'' +
                ", locationType='" + locationType + '\'' +
                ", locationTime='" + locationTime + '\'' +
                '}';
    }

    private String longitude;
    private String locationType;

    private String locationTime;

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public String getLocationTime() {
        return locationTime;
    }

    public void setLocationTime(String locationTime) {
        this.locationTime = locationTime;
    }

    public String getLocationType() {
        return locationType;
    }

    public void setLocationType(String locationType) {
        this.locationType = locationType;
    }

    public Location latitude(String latitude) {
        setLatitude(latitude);
        return this;
    }

    public Location longitude(String longitude) {
        setLongitude(longitude);
        return this;
    }

    public Location locationType(String locationType) {
        setLocationType(locationType);
        return this;
    }

    public Location locationTime(String locationTime) {
        setLocationTime(locationTime);
        return this;
    }
}
